package vcp.entity;

import java.util.List;

import vcp.enums.LotStatus;
import vcp.enums.Screen;
import vcp.enums.SiteEnum;
/**
 * <p> customr service worker class ,includes getters and setters </p>
 * @author VCP team
 *
 */
public class CustomerServiceWorker extends Worker
{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4232308843493578421L;

	/****************************************************************************************************************************
	 *** User methods ***
	 ****************************************************************************************************************************/
	@Override
	public String[] getVisibleTabs()
	{
		return new String[]
				{ Screen.SITE_MAP.toString(),
				Screen.COMPLAINT_HANDLE.toString(),
				Screen.LOG_OUT.toString() };
	}

	@Override
	public Screen getInitTabScreen()
	{
		return Screen.SITE_MAP;
	}

	/****************************************************************************************************************************
	 *** Worker methods ***
	 ****************************************************************************************************************************/

	private List<Complaint> complaints;

	@Override
	public List<Complaint> getComplaints()
	{
		return this.complaints;
	}

	@Override
	public void setComplaints(List<Complaint> complaints)
	{
		this.complaints = complaints;
	}

	@Override
	public SiteEnum[] getSitesOptions()
	{
		return SiteEnum.values();
	}

	@Override
	public LotStatus[] getLotEditableStatuses()
	{
		return new LotStatus[]
				{ LotStatus.RESERVE };
	}

	@Override
	public boolean getSitesOptionsEnable()
	{
		return true;
	}

	@Override
	public boolean hasEditingPrivlige()
	{
		return true;
	}

	@Override
	public boolean canSaveToPdf()
	{
		return false;
	}
}
